<template>
  <div class="student profill">
    <el-avatar
      :size="200"
      shape="square"
      :src="currentRow.headimgurl"
    ></el-avatar>

    <el-descriptions title="学员资料" border>
      <el-descriptions-item label="姓名">{{
        currentRow.name
      }}</el-descriptions-item>
      <el-descriptions-item label="年龄">{{
        currentRow.age
      }}</el-descriptions-item>
      <el-descriptions-item label="班级">{{
        currentRow.class
      }}</el-descriptions-item>
      <el-descriptions-item label="城市">{{
        currentRow.city
      }}</el-descriptions-item>
      <el-descriptions-item label="学历">{{
        currentRow.degree
      }}</el-descriptions-item>
      <el-descriptions-item label="项目路径">{{
        currentRow.productUrl
      }}</el-descriptions-item>
      <el-descriptions-item label="描述">{{
        currentRow.description
      }}</el-descriptions-item>
      <el-descriptions-item label="sId">{{
        currentRow.sId
      }}</el-descriptions-item>
      <el-descriptions-item label="创建时间">{{
        currentRow.cTime
      }}</el-descriptions-item>
      <!-- <el-descriptions-item label="描述"><el-tag size="small">{{currentRow.description}}</el-tag></el-descriptions-item>       -->
    </el-descriptions>
  </div>
</template>

<script>
import { mapState, mapMutations } from "vuex";
export default {
  computed: {
    ...mapState(["currentRow"]),
  },
};
</script>
